<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li ><a href="{:url('fbfans/index')}">站点列表</a></li>
			<li ><a href="{:url('fbfans/add')}">添加站点</a></li>
			<li class="active"><a>编辑站点列表</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('fbfans/editPost')}">
			<div class="form-group">
				<label for="input-uname" class="col-sm-2 control-label"><span class="form-required">*</span>站长姓名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-uname" name="uname" value="{$uname}" disabled="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-domain" class="col-sm-2 control-label"><span class="form-required">*</span>站点域名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-domain" name="domain" value="{$domain}" disabled="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-fburl" class="col-sm-2 control-label"><span class="form-required">*</span>粉丝页链接</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-fburl" name="fburl" value="{$fburl}" disabled="true">
				</div>
			</div>
			<div class="form-group">
				<label for="input-website_chage_description" class="col-sm-2 control-label"><span class="form-required">*</span>记录描述</label>
				<div class="col-md-6 col-sm-10">
					<textarea style="height: 300px;" class="form-control" id="input-website_chage_description" name="website_chage_description">{$website_chage_description|default=''}</textarea>
				</div>
			</div>
			<div class="form-group">
				<label for="input-status" class="col-sm-2 control-label"><span class="form-required">*</span>状态</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="status">
						<php>$status_selected=empty($status)?"selected":"";</php>
						<option value="1" {$status_selected}>正常</option>
						<option value="0" {$status_selected}>已挂</option>
					</select> 
				</div>
			</div>
			
			<div class="col-sm-offset-2 col-sm-10">
				<input type="hidden" name="id" value="{$id}" />
				<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
				<a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
